package cn.example.common.constant;

public class ExampleErrorCode {

    public static  final int COMMON_CODE = 1000;
    /** 非法包 */
    public static final int ILLEGAL_APP = COMMON_CODE + 1;
    /** 缺少参数 */
    public static final int MISSING_PARAMETER = COMMON_CODE + 2;
    /** 账号或者密码错误 */
    public static final int USER_ACCOUNT_PASSWORD_MISMATCH = COMMON_CODE + 3;
    /** 签名验证失败 */
    public static final int LOGIN_SIGN_FAILURE = COMMON_CODE + 4;


    public static final int PLAYER_CODE = 2000;

    public static final int ITEM_CODE = 3000;

    public static final int TASK_CODE = 4000;


    public static final int FRIEND_CODE = 5000;
    /** 好友状态错误 */
    public static final int FRIEND_STATUS_ERROR = FRIEND_CODE + 1;
}
